package cn.csc.module.shop.convert.businessdic;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.shop.controller.admin.businessdic.vo.*;
import cn.csc.module.shop.dal.dataobject.businessdic.ShopBusinessDicDO;

/**
 * 企业经营范围字典数据 Convert
 *
 * @author liuchuang
 */
@Mapper
public interface ShopBusinessDicConvert {

    ShopBusinessDicConvert INSTANCE = Mappers.getMapper(ShopBusinessDicConvert.class);

    ShopBusinessDicDO convert(ShopBusinessDicCreateReqVO bean);

    ShopBusinessDicDO convert(ShopBusinessDicUpdateReqVO bean);

    ShopBusinessDicRespVO convert(ShopBusinessDicDO bean);

    List<ShopBusinessDicRespVO> convertList(List<ShopBusinessDicDO> list);

    PageResult<ShopBusinessDicRespVO> convertPage(PageResult<ShopBusinessDicDO> page);

    List<ShopBusinessDicExcelVO> convertList02(List<ShopBusinessDicDO> list);

}
